package com.ruoyi.project.business.dailyschedule.service;

import com.ruoyi.project.business.dailyschedule.entity.DailySchedule;
import com.ruoyi.project.business.dailyschedule.request.AIAssignDailyScheduleRequest;
import com.ruoyi.project.business.dailyschedule.request.AddDailyScheduleRequest;
import com.ruoyi.project.business.dailyschedule.request.ListDailyScheduleRequest;
import com.ruoyi.project.business.dailyschedule.response.DailyScheduleResponse;

import java.util.List;

/**
 * 日排班Service接口
 * 
 * @author ${author}
 * @date 2024-03-22
 */
public interface IDailyScheduleService {
    /**
     * 查询日排班
     *
     * @param id 日排班ID
     * @return 日排班
     */
    public DailySchedule selectDailyScheduleById(Long id);

    /**
     */
    public List<DailyScheduleResponse> selectDailyScheduleList(ListDailyScheduleRequest request, Long tenantId);


    public int insertDailySchedule(AddDailyScheduleRequest request, Long operatorId, Long tenantId);

    /**
     * 修改日排班
     * 
     * @return 结果
     */
    public int updateDailySchedule(DailySchedule entity, Long operatorId, Long tenantId);

    /**
     * 批量删除日排班
     * 
     * @return 结果
     */
    public int deleteDailyScheduleByIds(Long[] ids, Long operatorId, Long tenantId);

    /**
     * 删除日排班信息
     * 
     * @return 结果
     */
    public int deleteDailyScheduleById(Long id, Long operatorId, Long tenantId);

    int aiAssign(AIAssignDailyScheduleRequest request, Long operatorId, Long tenantId);
}
